import { Link, useNavigate } from "react-router-dom";

export default function Login() {
    const navigate = useNavigate();

    return (
        <div id="login">
            <Link to={'/contacts/123/456'}>to contacts</Link>
            <button onClick={() => {
                navigate('/content?account=123&pwd=456')
            }}> to content </button>
        </div>
    );
}